<template>
  <div   v-track >

    <el-page-header @back="goBack" :content="$route.path"></el-page-header>
    
    <router-view></router-view>
  </div>
</template>

<script setup lang="ts">
import { useRouter, useRoute } from 'vue-router'
import { ref, reactive, toRaw, watch } from 'vue'

let name = useRoute().name as string

const router = useRouter()
const goBack = () => {
  router.back()
  // router.go(-1)
}
</script>

<style scoped>
.el-page-header {
  display: flex;
  height: 50px;
  align-items: center;
  line-height: 100%;
}
</style>
